package com.dkd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dkd.entity.OrderCollectEntity;
import com.dkd.entity.vo.BarCharCollect;
import com.dkd.vo.Pager;

import java.time.LocalDate;
import java.util.Arrays;
import java.util.List;

public interface OrderCollectService extends IService<OrderCollectEntity> {

    BarCharCollect getCollect(Integer partnerId, LocalDate start, LocalDate end);

    Pager<OrderCollectEntity> getPartnerCollect(Long pageIndex, Long pageSize,Integer partnerId, LocalDate start, LocalDate end);

    BarCharCollect getAmountCollect(Integer collectType, LocalDate start, LocalDate end);



    List<OrderCollectEntity> getTop12(Integer partnerId);


    BarCharCollect getCollectByRegion(LocalDate start, LocalDate end);
}
